package com.wr.service;

import com.wr.model.Article;
import com.wr.utils.PageData;

import java.util.List;

/**
 * @author weirong
 * @Title:
 * @Description:
 * @date 2018/6/1117:58
 */
public interface ArticleService {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Article record);

    List<Article> listPage(Article record,Integer pageNo);

    void updateViewCount(Integer id);

    List<Article> listPd(PageData pd);

}
